package com.mdmedia.cms.service;

import java.util.List;
import java.util.Map;

import com.mdmedia.common.dao.PageResults;

@SuppressWarnings("rawtypes")
public interface IBaseService <T extends Object>{

	public Boolean createObject(T obj);
	public Boolean deleteObject(String id);
	public Boolean deleteObject(T obj);
	public PageResults<T> queryDataList(String hql, String countHql,int pageNo, int pageSize, Object... values);
	public T queryObject(String id);
	public List<T> queryDataList(String select,Map<String,String> querywhere);
	
	
}
